package com.diorsunion.hedge.dal.repository.account;

import com.diorsunion.hedge.common.BaseRepository;
import com.diorsunion.hedge.dal.entity.account.Account;
import com.diorsunion.hedge.dal.entity.account.User;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by harley-dog on 2016/4/26.
 */
@Resource
public interface AccountRepository extends BaseRepository<Account, Integer> {
    List<Account> findByUser(@Param("user")User user);
}
